package com.atao.baokede.service.serviceImpl;

import com.atao.baokede.mapper.DialogueMapper;
import com.atao.baokede.pojo.Dialogue;
import com.atao.baokede.service.DialogueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DialogueServiceImpl implements DialogueService {
    @Autowired
    private DialogueMapper dialogueMapper;
    @Override
    public void addDialogue(Dialogue dialogue) {
        dialogueMapper.addDialogue(dialogue);
    }
}
